var mongoose = require('mongoose')

/* 表的模型*/
var Schema = mongoose.Schema;

/* 商品模型*/
var produtSchema = new Schema({
  "productId":{type:String},
  "productName":String,
  "salePrice":Number,
  "checked":String,
  "productNum":Number,
  "productImage":String
});

/* 定义good  模型 是produtSchema */

module.exports = mongoose.model('Good',produtSchema);